A Structural Approach to Prophecy Variables

نویسندگان

  • Zipeng Zhang
  • Xinyu Feng
  • Ming Fu
  • Zhong Shao
  • Yong Li
چکیده

Verifying the implementation of concurrent objects essentially proves the fine-grained implementation of object methods refines the corresponding abstract atomic operations. To simplify the specifications and proofs, we usually need auxiliary history and prophecy variables to record events occur historically and to predict the occurrence of certain events, respectively. Although the meaning of history variables is obvious, the semantics of prophecy variables and the corresponding auxiliary code is tricky and has never been clearly spelled out operationally. In this paper, we propose a new language construct, future blocks, that allows structural use of prophecy variables to refer to events in the future. The semantics of the construct is simple and easy to understand, without using any form of oracle or backward reasoning. Our language also separates auxiliary states from physical program states. With careful syntactic constraints, it ensures the use of history and prophecy variables would not affect the behaviors of the original program, which justifies the verification method depending on auxiliary variables.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Prophecy of Undo

Prophecy variables are auxiliary program variables whose values are defined in terms of current program state and future behavior. This paper explains their relevance to reasoning about systems with “undo” operations, and develops techniques that facilitate their use.

متن کامل

untimed systems

A comprehensive presentation of simulation techniques is given in terms of a simple (un-timed) automaton model. In particular, we discuss (1) reenements, (2) forward and backward simulations, (3) forward-backward and backward-forward simulations, and (4) history and prophecy relations. History and prophecy relations are new and are abstractions of the history and prophecy variables of Abadi and...

متن کامل

Finding the What Meant by Surah Sad of the Holy Quran

In the last few decades, scholars of the Qur'an, with the structural interpretation approach, believe that this new method will significantly contribute to the understanding of the concepts of the Qur'an. This method primarily seeks to discover the primary and secondary aims of the surahs, and then to discover the relationship of the sentences and the verses to each other in drawing the seconda...

متن کامل

Eternity Variables to Simulate Specifications

Simulation of specifications is introduced as a unification and generalization of refinement mappings, history variables, forward simulations, prophecy variables, and backward simulations. Eternity variables are introduced as a more powerful alternative for prophecy variables and backward simulations. This formalism is semantically complete: every simulation is a composition of a forward simula...

متن کامل

The Effects of the Structural Variables of the Iranian Industries on the Social Cost: The SCP Approach

This paper studies the effects of the structural variables of the Iranian industries sector on the welfare cost using to the Structure-Conduct-Performance (SCP) theory. In other words, we investigate the role of structural components and their effects on the size of the welfare cost in Iran's industry sector. We have used the Leibenstein's model to calculate the deadweight loss and then the pan...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012